<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加用户</title>
</head>
<body>
<!--没有写action 会提交到/add -->
<sf:form method="post" modelAttribute="user" enctype="multipart/form-data">
	username:<sf:input path="username"/><sf:errors path="username"/><br>
	password:<sf:password path="password"/><sf:errors path="password"/><br>
	email:<sf:input path="email"/><sf:errors path="email"/><br>
	Attachs:<input type="file" name="attachs"/><br>
	<input type="file" name="attachs"/><br>
	<input type="file" name="attachs"/><br>
	<input type="submit" value="添加用户"/>
</sf:form>
</body>
</html>